/*
 * EnthalpyChangeKernel.h
 *计算固体气化后焓值变化引起的热交换
 *  Created on: 2017年9月11日
 *      Author: liuxiao
 */



#pragma once

#include "MUltiPhasePyrolysisMaterial.h"//获得固体焓参数
#include "ComputeRhoMaterial.h"//获得热解率参数
#include "PyrolysisGasPropertyMaterial.h"//获得气体焓参数
#include "Kernel.h"

class EnthalpyChangeKernel : public Kernel
{
public:

	EnthalpyChangeKernel(const InputParameters & parameters);

protected:
  virtual Real computeQpResidual();
  virtual Real computeQpJacobian();

private:
  const MaterialProperty<Real> & _drhos_dt;
  const MaterialProperty<Real> & _hs;
  const MaterialProperty<Real> & _hg;
  const MaterialProperty<Real> & _porosity;
};

template<>
InputParameters validParams<EnthalpyChangeKernel>();
